﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NesEmulatorX
{
	public abstract class CPU6502OpCode
	{
		#region Properties

		public string Command
		{
			get { return _command; }
			set { _command = value; }
		}
		private string _command = String.Empty;

		public abstract int Cycles
		{
			get;
		}

		public abstract int Bytes
		{
			get;
		}

		public abstract void Action(CPU6502 cpu, CPUMemory memory, byte[] bytes);

		public abstract string Decode(CPU6502 cpu, CPUMemory memory, byte[] bytes);

		#endregion
	}
}
